Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sphinx and elasticsearch-py #74

Merged
merged 1 commit into from
Apr 13, 2021
Merged

Update sphinx and elasticsearch-py #74

merged 1 commit into from
Apr 13, 2021

Conversation

nsano-rururu
Copy link
Collaborator

sphinx 1.6.6 to 3.5.4
elasticsearch 7.0.0 to >=7.0.0,<8.0.0

With the version upgrade of elasticsearch-py, the instruction that elasticsearch will be abolished in the major version upgrade will give the following warning, but if you are using the current version 7.xx, there is no problem in operation.
In addition, the following message will be displayed when the index of elastalert is newly created in elasitcsearch, so if you are already using elastalert, the message will not be displayed.

xxxx/elasticsearch/connection/base.py:193: ElasticsearchDeprecationWarning: Camel case format name dateOptionalTime is deprecated and will be removed in a future version. Use snake case name date_optional_time instead.
      warnings.warn(message, category=ElasticsearchDeprecationWarning)
    /home/node/.local/lib/python3.8/site-packages/elasticsearch/connection/base.py:193: ElasticsearchDeprecationWarning: [types removal] Using include_type_name in put mapping requests is deprecated. The parameter will be removed in the next major version.
      warnings.warn(message, category=ElasticsearchDeprecationWarning)

sphinx 1.6.6 to 3.5.4
elasticsearch 7.0.0 to >=7.0.0,<8.0.0
@jertel jertel merged commit a25a392 into jertel:alt Apr 13, 2021
@nsano-rururu nsano-rururu deleted the elasticsearch_py_version_up branch April 13, 2021 15:10
@nsano-rururu
Copy link
Collaborator Author

This is supplementary information. If you set elasticsearch> = 7.0.0, <8.0.0 in python's elasticsearch library, it will not work at all in elasticsearch 6.x.
I confirmed that if I set elasticsearch library of python to elasticsearch == 7.0.0, it works fine with elasticsearch 6.2.4 and alerts are also notified.

Check out the Yelp / elastalert issue below for any errors that may occur.

Yelp/elastalert#2562

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants